//
// Created by HJ on 2024-08-25.
//

#ifndef MYAPPLICATION_XMAP_H
#define MYAPPLICATION_XMAP_H

#include <map>
#include <string>
#include <jni.h>

class XMap {

public:
    bool init(JNIEnv *pEnv);
    std::map<std::string, std::string> convertJavaHashMapToCppMap(jobject jMap);

    jobject convertCppMapToJavaHashMap(std::map<std::string, std::string> cMap);

private:
    JNIEnv *env_;
};


#endif //MYAPPLICATION_XMAP_H
